---
title: WdIndexSortBy Enumeration (Word)
ms.prod: word
api_name:
- Word.WdIndexSortBy
ms.assetid: fd0ba186-0233-9620-3201-d20cd3c24d64
ms.date: 06/08/2017
---


# WdIndexSortBy Enumeration (Word)

Specifies the criteria by which Word sorts the specified index.



|**Name**|**Value**|**Description**|
|:-----|:-----|:-----|
| **wdIndexSortByStroke**|0|Sort by the number of strokes in a character.|
| **wdIndexSortBySyllable**|1|Sort phonetically.|

